home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / honeytrouble.swf / scripts / DefineButton2_21 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2007-09-27  |  616 b   |  28 lines

  1. on(press){
  2.    var mc = eval(input_txt3.text);
  3.    display_txt2.text = mc + " mc : ";
  4.    for(var i in mc)
  5.    {
  6.       if(typeof mc[i] == "movieclip")
  7.       {
  8.          display_txt2.text += i + " , ";
  9.       }
  10.    }
  11.    display_txt2.text += "\n\n" + mc + " var : ";
  12.    for(var i in mc)
  13.    {
  14.       if(typeof mc[i] != "movieclip" && typeof mc[i] != "function")
  15.       {
  16.          display_txt2.text += i + " , ";
  17.       }
  18.    }
  19.    display_txt2.text += "\n\n" + mc + " func : ";
  20.    for(var i in mc)
  21.    {
  22.       if(typeof mc[i] == "function")
  23.       {
  24.          display_txt2.text += i + " , ";
  25.       }
  26.    }
  27. }
  28.